#ifndef __OBJCREATOR_H__
#define __OBJCREATOR_H__

class ObjCreateClass
{

};

class ObjCreatorBase
{
public:
	virtual ~ObjCreatorBase(){};
	virtual ObjCreateClass* Create() {return 0;}
};

template<class T>
class ObjCreator : ObjCreatorBase
{
public:
	virtual ObjCreateClass* Create() {return new T();}
};

#endif

